STEP 2: Now let's have the wizard ask the user to type and enter their question.

  • Go to and drag out Ask.
  • The variable storing the user's input is named choice. Change it to question.
  • Change the string in .ask() to "What is your question?"
  • Click Run then Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)